package com.kekezu.kppw.dataprocess;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import android.content.Context;

import com.kekezu.kppw.data.BankData;

public class BankDP {
	/**
	 * 获取用户认证的银行卡列表信息
	 * 
	 * @param context
	 * @return
	 */
	public static ArrayList<HashMap<String, Object>> getBankList(Context context) {
		return BankData.getBankList(context);
	}

	/**
	 * 获取银行认证可绑定的银行卡名称
	 * 
	 * @param context
	 * @return
	 */
	public static List<String> getBankName(Context context) {
		return BankData.getBankName(context);
	}

	/**
	 * 银行卡认证
	 * 
	 * @param depositName
	 * @param bankname
	 * @param province
	 * @param bankAccount
	 * @param confirmBankAccount
	 * @param city
	 * @param context
	 */
	public static String[] addBank(String depositName, String bankname,
			String bankAccount, String confirmBankAccount, Context context) {
		return BankData.addBank(depositName, bankname, bankAccount,
				confirmBankAccount, context);
	}

	/**
	 * 验证支付宝认证金额
	 * 
	 * @param strCash
	 * @param strID
	 * @param context
	 */
	public static String[] verifyBankAuthCash(String strCash, String strID,
			Context context) {
		return BankData.verifyBankAuthCash(strCash, strID, context);
	}

}
